/*
 * @Author: g05047
 * @Date: 2023-08-15 13:17:16
 * @LastEditors: g05047
 * @LastEditTime: 2023-10-08 17:17:57
 * @Description: file content
 */
import request from '@/utils/request'
let VUE_APP_BASE_API = 'dailySupervision-api';

//单位认领列表
export function getUnitClaimList(data) {
  return request({
    url: VUE_APP_BASE_API + "/rcjd-api/superviseunit/list/unit/claim",
    method: "post",
    data
  });
}

//进行批量单位认领
export function claimUnit(data) {
  return request({
    url: VUE_APP_BASE_API + "/rcjd-api/superviseunit/batch/claim",
    method: "post",
    data
  });
}

//检查记录列表
export function getCheckRecords(data) {
  return request({
    url: VUE_APP_BASE_API + "/rcjd-api/dailyCheckResult/list/checkRecords",
    method: "post",
    data
  });
}

//告知书
export function getNotification(id) {
  return request({
    url: VUE_APP_BASE_API + "/rcjd-api/documentForCase/byResultId?id=" + id,
    method: "get",
  });
}

//结果记录表

//检查项目表
export function getCheckItem(id) {
  return request({
    url: VUE_APP_BASE_API + "/rcjd-api/sys/check/item/findSysCheckItemById?id=" + id,
    method: "get",
  });
}

//责令整改通知书
export function getOrderCorrectNotice(id) {
  return request({
    url: VUE_APP_BASE_API + "/rcjd-api/documentforcommandcorrection/byResultId?id=" + id,
    method: "get",
  });
}

//行政指导书
export function getGuidelines(id) {
  return request({
    url: VUE_APP_BASE_API + "/rcjd-api/documentfororalcorrection/byResultId?id=" + id,
    method: "get",
  });
}

//处罚决定书
export function getPenaltyDecisionLetter(id) {
  return request({
    url: VUE_APP_BASE_API + "/rcjd-api/documentforcommandpunishment/byResultId?id=" + id,
    method: "get",
  });
}

//量化分级

//风险等级
export function getRiskLevel(id) {
  return request({
    url: VUE_APP_BASE_API + "/rcjd-api/documentforrisk/byResultId?id=" + id,
    method: "get",
  });
}

//删除日常监督记录
export function deleteDailyCheckResult(id) {
  return request({
    url: VUE_APP_BASE_API + "/rcjd-api/dailyCheckResult/delete/dailyCheckResult?id=" + id,
    method: "get",
  });
}

//检查记录上传附件
export function saveDailyCheckResult(data) {
  return request({
    url: VUE_APP_BASE_API + "/rcjd-api/dailyCheckResult/checkRecords/saveImg",
    method: "post",
    data
  });
}

//获取日常监督管理列表
export function getDailySupervisionManageList(data) {
  return request({
    url: VUE_APP_BASE_API + "/rcjd-api/dailyCheck/sysPlanSupervise/list",
    method: "post",
    data
  });
}

//获取监管单位列表
export function getSupervisionUnitList(data) {
  return request({
    url: VUE_APP_BASE_API + "/rcjd-api/sys/unit/findSysUnit",
    method: "post",
    data
  });
}

//获取监管人员列表
export function getSupervisionPersonnelList(data) {
  return request({
    url: VUE_APP_BASE_API + "/rcjd-api/sys/supervisor/findSysSupervisor",
    method: "post",
    data
  });
}





































































